/**
 * 
 */
package com.pcbly.web.business.chart;

import java.util.List;

import com.pcbly.web.bean.chart.ChartPropertyBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.chart.ChartPropertyDao;

/**
 * @author Administrator
 * @date 2009-7-13
 * @copyright lightsoft
 */
public class ChartPropertyServiceImp extends BaseServiceImp<ChartPropertyBean>
		implements ChartPropertyService {

	public ChartPropertyServiceImp(){
		super();
	}
	
	protected ChartPropertyDao chartPropertyDao;
	
	
	public void setChartPropertyDao(ChartPropertyDao chartPropertyDao) {
		this.chartPropertyDao = chartPropertyDao;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

	@Override
	public int deleteChartPropertyBeanById(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartPropertyDao.deleteChartPropertyBeanById(id);
	}

	@Override
	public int insertChartPropertyBean(ChartPropertyBean bean) throws Exception {
		// TODO Auto-generated method stub
		return chartPropertyDao.insertChartPropertyBean(bean);
	}

	@Override
	public ChartPropertyBean queryChartPropertyBeanById(String id)
			throws Exception {
		// TODO Auto-generated method stub
		return chartPropertyDao.queryChartPropertyBeanById(id);
	}

	@Override
	public ChartPropertyBean queryDetailChartPropertyBeanById(String id)
			throws Exception {
		// TODO Auto-generated method stub
		return chartPropertyDao.queryDetailChartPropertyBeanById(id);
	}

	@Override
	public List<ChartPropertyBean> queryList() throws Exception {
		// TODO Auto-generated method stub
		return chartPropertyDao.queryList();
	}

	@Override
	public int updateChartPropertyBean(ChartPropertyBean bean) throws Exception {
		// TODO Auto-generated method stub
		return chartPropertyDao.updateChartPropertyBean(bean);
	}



}
